package com.dhcc.wb.user;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.util.UUID;

import com.alibaba.fastjson.JSON;
import com.dhcc.wb.gongzhonghao.UtilGzhModel;
import com.google.gson.Gson;

/**
 * weixin_user
 * @author wb
 *
 */
public class UserModel implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String ids = UUID.randomUUID().toString();//
    private String ref_date;//获取数据日期
    private Integer user_source;//用户的渠道，数值代表的含义如下： 0代表其他合计 1代表公众号搜索 17代表名片分享 30代表扫描二维码 43代表图文页右上角菜单 51代表支付后关注（在支付完成页） 57代表图文页内公众号名称 75代表公众号文章广告 78代表朋友圈广告
    private Integer new_user;//新增的用户数量
    private Integer cancel_user;//取消关注的用户数量，new_user减去cancel_user即为净增用户数量
    private Integer cumulate_user;//总用户量
    private String gzhid;//公众号id
    private String gzhname;//公众号name
	public String getIds() {
		return ids;
	}
	public void setIds(String ids) {
		this.ids = ids;
	}
	public String getRef_date() {
		return ref_date;
	}
	public void setRef_date(String ref_date) {
		this.ref_date = ref_date;
	}
	public Integer getUser_source() {
		return user_source;
	}
	public void setUser_source(Integer user_source) {
		this.user_source = user_source;
	}
	public Integer getNew_user() {
		return new_user;
	}
	public void setNew_user(Integer new_user) {
		this.new_user = new_user;
	}
	public Integer getCancel_user() {
		return cancel_user;
	}
	public void setCancel_user(Integer cancel_user) {
		this.cancel_user = cancel_user;
	}
	public Integer getCumulate_user() {
		return cumulate_user;
	}
	public void setCumulate_user(Integer cumulate_user) {
		this.cumulate_user = cumulate_user;
	}
	public String getGzhid() {
		return gzhid;
	}
	public void setGzhid(String gzhid) {
		this.gzhid = gzhid;
	}
	public UserModel() {
		super();
	}

	
	
    @Override
	public String toString() {
		return "UserModel [ids=" + ids + ", ref_date=" + ref_date
				+ ", user_source=" + user_source + ", new_user=" + new_user
				+ ", cancel_user=" + cancel_user + ", cumulate_user="
				+ cumulate_user + ", gzhid=" + gzhid + "]";
	}
    
    
   
	public String getGzhname() {
		return gzhname;
	}
	public void setGzhname(String gzhname) {
		this.gzhname = gzhname;
	}
    
   
    
    
}
